/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.grupE.DDBB.Interfaces;

import java.util.List;

/**
 *
 * @author xday666
 */
public interface DBActionResult {
    /**
     *
     * @return
     */
    boolean isOk();
    /**
     *
     * @return
     */
    String getErrorMsg();
    /**
     *
     * @return
     */
    Throwable getException();
    /**
     *
     * @return
     */
    Object getResult();
    /**
     *
     * @param a_ErrorMsg
     */
    void setErrorMsg(String a_ErrorMsg);
    /**
     *
     * @param a_Exception
     */
    void setException(Throwable a_Exception);
    /**
     *
     * @param a_Result
     */
    void setResult(Object a_Result);
}
